<ion-view view-title="选择运输公司" class="transporter">
    <div class="list search">
        <div class="item item-input">
            <i class="icon ion-search placeholder-icon"></i>
            <input type="search" placeholder="搜索" ng-model="condition">
            <i class="close" ng-if="condition" ng-click="removeCondition(condition);"></i>
        </div>
    </div>

	<ion-content delegate-handle="mainScroll" class="chooseTransportCompany">
        <div class="row" ng-show="!condition" >
            <div class="col-90" >
            <div class="card" ng-repeat="item in transporter" >
                <ul delegate-handle="a">
                    <li  class="item item-divider">{{item.title}}</li>
                    <li class="item" ng-repeat="items in item.list"  ng-click="selectTransporter({{items}})">{{items.companyname}}</li>
                </ul>
            </div>
            </div>
            <div class="col"></div>
        </div>

        <ion-list ng-show="condition">
            <ion-item ng-repeat="item in transporterList|filter:condition" ng-click="selectTransporter({{item}})" >
                {{item.companyname}}
            </ion-item>
        </ion-list>
	</ion-content>

    <div class="alphabate" ng-show="!condition">
        <a href="" class="block positive"  ng-click="scrollTo({{item}})"  ng-repeat="item in transporter">{{item.title}} </a>
    </div>

</ion-view>

